package business;


public class DefiHistorique {
	/* ------------------------------------------------------------- ATTRIBUT */
	private int id_defiHistorique = 0;
	private int fk_id_demandeur = 0;
	private int fk_id_cible = 0;
	private int fk_id_pariHistoriqueDemandeur = 0;
	private int fk_id_pariHistoriqueCible = 0;
	private int etat = 0;


	/* --------------------------------------------------------- CONSTRUCTEUR */
	public DefiHistorique() { super(); }

	public DefiHistorique(
			int 		id_defiHistorique,
			int 		fk_id_demandeur,
			int 		fk_id_cible,
			int 		fk_id_pariHistoriqueDemandeur,
			int 		fk_id_pariHistoriqueCible,
			int 		etat
	) {
		super();
		this.id_defiHistorique = id_defiHistorique;
		this.fk_id_demandeur = fk_id_demandeur;
		this.fk_id_cible = fk_id_cible;
		this.fk_id_pariHistoriqueDemandeur = fk_id_pariHistoriqueDemandeur;
		this.fk_id_pariHistoriqueCible = fk_id_pariHistoriqueCible;
		this.etat = etat;
	}


	/* -------------------------------------------------------------- METHODE */
	public int getId_defiHistorique() { return id_defiHistorique; }

	public int getFk_id_demandeur() { return fk_id_demandeur; }

	public int getFk_id_cible() { return fk_id_cible; }

	public int getFk_id_pariHistoriqueDemandeur() { return fk_id_pariHistoriqueDemandeur; }

	public int getFk_id_pariHistoriqueCible() { return fk_id_pariHistoriqueCible; }

	public int getEtat() { return etat; }
}
